package video.local.analyse.stereo;

import java.io.File;
import java.io.IOException;

import exception.ImageNotFoundException;

import settings.GlobalSettings;
import video.local.VideoBasicMethodsSet;
import video.local.analyse.image.MergedImage;

public class VideoScreenshots {
	private File[] imageList;
	public double[] LRs;
	
	public VideoScreenshots(String videoFilePath) throws ImageNotFoundException{
		imageList = VideoBasicMethodsSet.capture(videoFilePath, GlobalSettings.stereoTestFolder, true, 0.95);
		LRs = new double[imageList.length];
		MergedImage mImages;
		for(int i=0; i<imageList.length; i++){
			mImages = new MergedImage(imageList[i]);	//image index start from 1
			LRs[i] = mImages.LRsimilarity();
		}
	}
	
}
